﻿using System;

namespace FH.Application.NewsApp.Dtos
{
    public class NewsDto
    {
        public Guid Id { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 标题
        /// </summary>
        public string Title { get; set; }
        /// <summary>
        /// 图片
        /// </summary>
        public string Thumbnail { get; set; }
        /// <summary>
        /// 简介
        /// </summary>
        public string Content { get; set; }
        /// <summary>
        /// 排序id
        /// </summary>
        public int SortId { get; set; }
        /// <summary>
        /// 创建用户
        /// </summary>
        public Guid CreatedId { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreatedOn { get; set; } = DateTime.Now;
    }
}
